package com.sevenluo.netty.learn.common;

/**
 * @author: 程序员七哥
 * @date: 2022-01-25
 * @description:
 */
public class ResponseMessage extends Message <OperationResult>{
    @Override
    public Class getMessageBodyDecodeClass(int opcode) {
        return OperationType.fromOpCode(opcode).getOperationResultClazz();
    }
}
